package com.hnas.eCard.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.hnas.eCard.dao.SaleCardOrderDetailDao;
import com.hnas.eCard.service.SaleCardRecordService;
import com.hnas.eCard.service.dto.DTOSaleCardRecord;

@Component("saleCardRecordService")
public class SaleCardRecordServiceImpl implements SaleCardRecordService{

	@Autowired
	private SaleCardOrderDetailDao saleCardOrderDetailDao;
	
	@Override
	public DTOSaleCardRecord findBySwiftNumber(String swiftNumber) {
		return this.saleCardOrderDetailDao.findSaleCardRecordBySwiftNumber(swiftNumber);
	}

}
